package vsfsfs5;
abstract class Animal{
    abstract void shout();
}
class Cat extends Animalv {
    @Override
    void shout() {
        System.out.println("喵喵喵~~~");
    }
}
class Dog extends Animalv {
    @Override
    void shout() {
        System.out.println("汪汪汪……");
    }
}
public class Example14 {
    public static void main(String[] args) {
        Animalv cat = new Cat();
        Animalv dog = new Dogc();
        cat.shout();
        dog.shout();
    }
}